HTMLModelElement: playbackRate property

The HTMLModelElement.playbackRate property sets the rate at which the model element's animation is being played back. This is used to implement user controls for fast forward, slow motion, and so forth. The normal playback rate is multiplied by this value to obtain the current rate, so a value of 1.0 indicates normal speed.

Value

A double. 1.0 is "normal speed," values lower than 1.0 make the model animation play slower than normal, higher values make it play faster. (Default: 1.0)

Note: A model's currentTime and duration are unaffected by changes to its animation's playbackRate.

Examples

js
const obj = document.createElement("model");
console.log(obj.playbackRate); // Expected Output: 1

Specifications

No specification found

No specification data found for api.HTMLModelElement.playbackRate.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

See also

  • HTMLModelElement: Interface used to define the HTMLModelElement.playbackRate property